'use strict';
module.exports = app => {
  const { STRING, CHAR, JSON } = app.Sequelize; // 获取数据类型
  const Tr069Command = app.modelmysql.define('tr069Command',
    {
      id: {
        type: CHAR(27),
        primaryKey: true,
      },
      deviceType: { type: STRING },
      typeName: { type: STRING },
      keys: { type: JSON },
      tid: { type: CHAR(27) },
    }
  );
  return Tr069Command;
};
